export const resSuccess = (data = {}, msg = '成功') => {
  return {
    code: 200,
    data,
    msg,
  }
}

export const resError = (msg = '成功', code = 500) => {
  return {
    code,
    msg,
  }
}
